<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>信息中心欢迎您！</title>

    <!-- Bootstrap -->
    <link href="<%=request.getContextPath()%>/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=request.getContextPath()%>/static/css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="<%=request.getContextPath()%>/static/css/jumbotron.css" rel="stylesheet">
    
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="<%=request.getContextPath() %>/static/js/html5shiv.min.js"></script>
      <script src="<%=request.getContextPath() %>/static/js/respond.min.js"></script>
    <![endif]-->
    <style> 
           p{text-indent:2em} 
    </style>
</head>

<body>

<jsp:include page="../Common/navHeader.jsp"></jsp:include>

    <!-- Main jumbotron for a primary marketing message or call to action -->
    <!-- <div class="jumbotron"> -->
      <div class="container">
        <div class="row">
          <h1 style="font-family:华文行楷;" >好室友<small>网</small> </h1>
        </div>
        
       
 	<div class="row">
 
 		<div class="col-sm-1"></div>
 		<div class="col-sm-10 ">
 			<c:if test="${news ne null }">
 				<h3 style="text-align:center">${news.subject}</h3><br/>
 				<div>${news.content}</div>
 				<h5 style="text-align:right">好室友网信息中心</h5>
 				<h5 style="text-align:right">${news.timeFormatted}</h5>
 			</c:if>
 		</div>
 		<div class="col-sm-1"></div>
 	</div>
    
    <jsp:include page="../Common/Footer.jsp"></jsp:include>

</div>
<!-- </div> -->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="<%=request.getContextPath()%>/static/js/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="<%=request.getContextPath()%>/static/js/bootstrap.min.js"></script>
  </body>
</html>
